package com.mobileshop.android.controller;

import com.jfinal.core.Controller;
import com.mobileshop.model.YAdress;

public class AddressController  extends Controller{
	
	public void index(){
		render("/androidviews/addresslist.html");
	}
	
	public void toCreateAddress(){
		render("/androidviews/createaddress.html");
	}
	public void createaddress(){
		
		 YAdress address=new YAdress();
		 address.set("receiver", getPara("receiver"));
		 address.set("area", getPara("area"));
		// Map<String, String[]> pm =getParaMap();
		//YAdress address=getModel(YAdress.class,"newaddress");
		//address.save();
	}
}
